namespace LanhuCms.Model.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Update_WebSite : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.WebSites", "RowVersion", c => c.Binary(nullable: false, fixedLength: true, timestamp: true, storeType: "rowversion"));
            AddColumn("dbo.WebSites", "CreateDate", c => c.DateTime(nullable: false));
            AddColumn("dbo.WebSites", "LastEditDate", c => c.DateTime(nullable: false));
            AddColumn("dbo.WebSites", "RowState", c => c.Long(nullable: false));
        }
        
        public override void Down()
        {
            DropColumn("dbo.WebSites", "RowState");
            DropColumn("dbo.WebSites", "LastEditDate");
            DropColumn("dbo.WebSites", "CreateDate");
            DropColumn("dbo.WebSites", "RowVersion");
        }
    }
}
